home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000065_fdc@watsun.cc.columbia.edu_Tue Oct 23 09:28:40 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
5KB
|
91 lines
Article: 12879 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc,comp.unix.aix
Subject: Re: Kermit droping back to a login
Date: 23 Oct 2001 13:29:08 GMT
Organization: Columbia University
Lines: 74
Message-ID: <9r3rb4$c7t$1@newsmaster.cc.columbia.edu>
References: <d86c5ce1.0110221123.53a7102b@posting.google.com> <9r1sv1$rdc$1@newsmaster.cc.columbia.edu> <d86c5ce1.0110230446.686fdc5@posting.google.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1003843748 12541 128.59.39.2 (23 Oct 2001 13:29:08 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Oct 2001 13:29:08 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12879 comp.unix.aix:224729
In article <d86c5ce1.0110230446.686fdc5@posting.google.com>,
Alan Rice <arice@benchmark-systems.com> wrote:
: fdc@watsun.cc.columbia.edu (Frank da Cruz)
: wrote in message news:<9r1sv1$rdc$1@newsmaster.cc.columbia.edu>...
: > In article <d86c5ce1.0110221123.53a7102b@posting.google.com>,
: > Alan Rice <arice@benchmark-systems.com> wrote:
: > > ...
: > > When You dail into said box and put kermit into server mode. Every
: > > thing works find. The moment you issue a finish to take it out of
: > > server mode it kicks out to a login prompt.
: > > ...
: > > Both version kick out to a login prompt.
: > >
: > > What am I missing?
: > >
: > How are you starting it? If it's wrapped in a script that contains an
: > exit command, that might do it, depending on the shell. If you made
: > Kermit itself the user's login shell, that would do it too. It's gotta
: > be something like that.
:
: I wish it was that simple. I did all the steps manually. I loginto the
: box, fire up kermit, send it into server mode, escape back, send and
: get till the cows come home, issue the FINISH command and do a
: Connect. When I get back to the box it's sitting at a lobin prompt.
:
How are you dialing into AIX? Direct to a serial port or through a
terminal server? The AIX Telnet server (which you might be using if you
came in through a terminal server) has some quirks, described in Section
3.1 of:
ftp://kermit.columbia.edu/kermit/test/text/ckubwr.txt
but the symptom you describe isn't one of them. I can Telnet into AIX,
start Kermit in server mode, and then FINISH, re-enter server mode,
FINISH again, all I want to without a hiccup.
If you are dialing directly into an AIX serial port, that's a different
story, but it's also a scenario I can't duplicate for testing. The most
likely suspect is Kermit's calls to the /dev/tty driver. When Kermit
starts, it gets and saves your terminal modes, and then puts the terminal
into "CBREAK" mode so it can read a character at a time from your keyboard.
When it exits, it restores the original terminal modes. So the first
question is: can you start Kermit and then immediately EXIT from it without
getting logged out?
Next, when Kermit enters either connect (terminal) state or protocol (file
transfer or server) state, it changes terminal modes again to allow maximum
transparency. When it returns to command mode, it restores CBREAK mode.
So the next question is: can you give Kermit a SEND or RECEIVE command
without getting logged out after the file transfer is finished?
If you can, but you still are logged out after sending FINISH, I'd be mighty
puzzled, since the same thing happens on the server end of FINISH as happens
when C-Kermit completes a SEND or RECEIVE command. In fact, I'm mighty
puzzled anyway, because if AIX C-Kermit had such a fundamental problem,
there would be angry mobs in the street below.
I'm copying this reply to the AIX newsgroup in hopes that someone there can
comment on this scenario: dialing directly into an AIX serial port and
transferring files with Kermit. In the past, when serial-port related
problems have come up with AIX, it seems to have made a big difference which
kind of serial port it is -- a built-in one, a port on the 128-port
multiplexer, etc. AIX patch level also tends to be germane.
- Frank
P.S. AIX people: C-Kermit 8.0 is in its final stages of prerelease testing:
http://www.columbia.edu/kermit/ck80.html
I haven't had the range of AIX versions to build and test it on that I
had in the past, so I'd appreciate it if anybody who has any AIX release
other than 3.2.5, 4.3.2, and 4.3.3 would please build it, send in a binary,
and test it to whatever degree they can.